package com.hospital.phyexam.dao;

import com.hospital.phyexam.entity.PhyexamBatch;
import com.hospital.phyexam.entity.PhyexamBatchExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PhyexamBatchMapper {
    long countByExample(PhyexamBatchExample example);

    int deleteByExample(PhyexamBatchExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PhyexamBatch record);

    int insertSelective(PhyexamBatch record);

    List<PhyexamBatch> selectByExample(PhyexamBatchExample example);

    PhyexamBatch selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PhyexamBatch record, @Param("example") PhyexamBatchExample example);

    int updateByExample(@Param("record") PhyexamBatch record, @Param("example") PhyexamBatchExample example);

    int updateByPrimaryKeySelective(PhyexamBatch record);

    int updateByPrimaryKey(PhyexamBatch record);
    PhyexamBatch selectByBatchName(String name);
    List<PhyexamBatch> selectAll();
}